package br.edu.ufcg.dsc.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="holiday")
public class Holiday {

	private Date holidayDate;

	@Temporal(TemporalType.DATE)
	@Column(name="holidaydate")
	@Id
	public Date getHolidayDate() {
		return holidayDate;
	}

	public void setHolidayDate(Date holidayDate) {
		this.holidayDate = holidayDate;
	}
	
}
